| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

RenderCommandQueue.h
1 // RenderCommandQueue.h
3 //
5
6 namespace nkGraphics
7 {
11 class RenderCommandQueue final
12 {
13 public :
14
15 // Constructor, destructor
19 RenderCommandQueue () noexcept ;
26 RenderCommandQueue (nkMemory::BufferCast<RenderCommand> commands) noexcept ;
35 RenderCommandQueue (nkMemory::BufferView<RenderCommand> commandsView) noexcept ;
36
37 // Getters
41 nkMemory::BufferView<RenderCommand> getCommands () const ;
42
43 // Manipulations
49 void addCommand (const RenderCommand& command) ;
55 void reset () ;
56 } ;
57 }
nkGraphics::RenderCommandQueue::getCommands
nkMemory::BufferView< RenderCommand > getCommands() const
nkGraphics::RenderCommandQueue
A queue of rendering commands.
Definition: RenderCommandQueue.h:12
nkGraphics::RenderCommandQueue::reset
void reset()
nkGraphics::RenderCommand
Describes a render command and provides the necessary information for it to happen.
Definition: RenderCommand.h:12
nkGraphics::RenderCommandQueue::addCommand
void addCommand(const RenderCommand &command)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7
nkGraphics::RenderCommandQueue::RenderCommandQueue
RenderCommandQueue() noexcept